import pyc51
import time

board=pyc51.C51("/dev/ttyUSB0")
while True:
    board.output(0x00,1)
    time.sleep(1)
    board.output(0x00,0)
    time.sleep(1)